<%--
  Created by IntelliJ IDEA.
  User: jackiechan
  Date: 2021/9/1
  Time: 10:07
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>


<%
    request.setAttribute("num", 18);
    request.setAttribute("name", "张三");

%>

<h1>算数运算</h1>

<h3>${num + 100}</h3>
<h3>${num - 100}</h3>
<h3>${num * 100}</h3>
<h3>${num / 2}</h3>
<h3>${num % 2}</h3>
<h3>${num div 2}</h3>
<h3>${num mod 2}</h3>


<h1>关系运算</h1>

<h3>${num >100}</h3>
<h3>${num <100}</h3>
<h3>${num ==100}</h3>
<h3>${num >=100}</h3>
<h3>${num >=18}</h3>
<h3>${num <=100}</h3>
<h3>${num <=18}</h3>
<h3>${num !=18}</h3>
=======英文符号的比较========
<h3>${num gt 100}</h3>
<h3>${num lt 100}</h3>
<h3>${num eq 100}</h3>
<h3>${num ge 100}</h3>
<h3>${num ge 18}</h3>
<h3>${num le 100}</h3>
<h3>${num le 18}</h3>
<h3>${not num eq 18}</h3>
<h1>逻辑运算</h1>

<h3>${num >100 and num <100}</h3>
<h3>${num >100 or num <100}</h3>













</body>
</html>
